package com.alibaba.nacos.naming.push.v2.executor;

import com.alibaba.nacos.naming.pojo.Subscriber;
import com.alibaba.nacos.naming.push.v2.PushDataWrapper;
import com.alibaba.nacos.naming.push.v2.task.NamingPushCallback;

public interface PushExecutor {

    void doPush(String clientId, Subscriber subscriber, PushDataWrapper data);

    void doPushWithCallback(String clientId,
                            Subscriber subscriber,
                            PushDataWrapper data,
                            NamingPushCallback callback);
}
